# -*- mode: python -*-

Import("env")

# TODO: config upgrade tests are currently in dbtests
env.Library(
    target='catalog_manager_legacy',
    source=[
        'catalog_manager_legacy.cpp',
        'cluster_client_internal.cpp',
        'config_coordinator.cpp',
        'config_upgrade.cpp',
        'distlock.cpp',
        'legacy_dist_lock_manager.cpp',
        'legacy_dist_lock_pinger.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/executor/network_interface',
        '$BUILD_DIR/mongo/s/catalog/catalog_manager',
        '$BUILD_DIR/mongo/s/catalog/dist_lock_manager',
    ],
    LIBDEPS_TAGS=[
        # Depends on inShutdown
        'incomplete',
    ],
)
